NAME = OS

$(NAME)_SRCS = uC-CPU/ARM-Cortex-M3/GNU/cpu_a.s \
			   uC-CPU/ARM-Cortex-M3/GNU/cpu_c.c \
			   uC-CPU/cpu_core.c \
			   uC-LIB/lib_ascii.c \
			   uC-LIB/lib_math.c \
			   uC-LIB/lib_mem.c \
			   uC-LIB/lib_str.c \
			   uC-LIB/Ports/ARM-Cortex-M3/GNU/lib_mem_a.s \
			   uCOS_BSP/bsp.c \
			   uCOS_CONFIG/os_app_hooks.c \
			   uCOS-III/Ports/ARM-Cortex-M3/Generic/GNU/os_cpu_a.s \
			   uCOS-III/Ports/ARM-Cortex-M3/Generic/GNU/os_cpu_c.c \
			   uCOS-III/Source/os_cfg_app.c \
			   uCOS-III/Source/os_core.c \
			   uCOS-III/Source/os_dbg.c \
			   uCOS-III/Source/os_flag.c \
			   uCOS-III/Source/os_int.c \
			   uCOS-III/Source/os_mem.c \
			   uCOS-III/Source/os_msg.c \
			   uCOS-III/Source/os_mutex.c \
			   uCOS-III/Source/os_pend_multi.c \
			   uCOS-III/Source/os_prio.c \
			   uCOS-III/Source/os_q.c \
			   uCOS-III/Source/os_sem.c \
			   uCOS-III/Source/os_stat.c \
			   uCOS-III/Source/os_task.c \
			   uCOS-III/Source/os_tick.c \
			   uCOS-III/Source/os_time.c \
			   uCOS-III/Source/os_tmr.c \
			   uCOS-III/Source/os_var.c

GLOBAL_INCS = uC-CPU \
			  uC-CPU/ARM-Cortex-M3/GNU \
			  uC-LIB \
			  uCOS_BSP \
			  uCOS_CONFIG \
			  uCOS-III/Ports/ARM-Cortex-M3/Generic/GNU \
			  uCOS-III/Source

ifeq ($(PLAT), stm32f10x)
$(NAME)_COMPONENTS := system/platform/stm32f10x
endif

$(NAME)_CFLAGS = -Wno-maybe-uninitialized
